package com.petdog.common.constant;

/**
 * 响应状态码常量类
 */
public class ResponseCode {
    // 成功状态码
    public static final int SUCCESS = 200;
    
    // 失败状态码
    public static final int FAIL = 400;
    
    // 参数错误
    public static final int PARAM_ERROR = 40001;
    
    // 未授权
    public static final int UNAUTHORIZED = 401;
    
    // 禁止访问
    public static final int FORBIDDEN = 403;
    
    // 资源不存在
    public static final int NOT_FOUND = 404;
    
    // 服务器错误
    public static final int SERVER_ERROR = 500;
    
    // 网络错误
    public static final int NETWORK_ERROR = 50001;
}